package org.jeecg.modules.xindian.reconciliation.mapper;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.xindian.reconciliation.controller.rsp.ChannelBrokerageFeeSettlementInfo;
import org.jeecg.modules.xindian.reconciliation.entity.ChannelSettlementInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 渠道结算汇总表
 * @Author: jeecg-boot
 * @Date:   2024-04-11
 * @Version: V1.0
 */
public interface ChannelSettlementInfoMapper extends BaseMapper<ChannelSettlementInfo> {
    List<ChannelBrokerageFeeSettlementInfo> listByIdChannelBrokerageFeeSettlementInfos(@Param("id") String  id);

    /**
     * 查询统计信息
     * @param date
     * @return
     */
    IPage<ChannelSettlementInfo> queryChannelSettlementInfo(IPage<ChannelSettlementInfo> page,@Param("date") String date);
    IPage<ChannelSettlementInfo> queryChannelUnSettlementInfo(IPage<ChannelSettlementInfo> page,@Param("date") String date);
}
